Automattic\Jetpack_Boost\Lib\Connection S

Total Complexity 46
Dependencies 8
Dependents 3
Total lines 399
Lines of code 199
Logical lines of code 74
Comment lines 141
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
get_connection_api_response()
A
55 8 17
deactivate_disconnect_network()
S
60 4 13
register()
S
63 3 12
register_rest_routes()
S
50 1 38
get_user_data()
S
56 2 19
can_manage_connection()
S
60 2 15
wpcom_blog_id()
S
77 3 3
is_connected()
S
67 3 8
__construct()
S
63 2 11
initialize_deactivate_disconnect()
S
67 2 8
create_connection_endpoint()
S
66 2 9
is_active()
S
79 2 3
should_clarify_tos()
S
67 2 8
rest_accept_tos_clarification()
S
64 2 10
rest_authorization_required_code()
S
79 2 3
disconnect()
S
74 1 5
authorize_url()
S
78 1 3
get_connection_endpoint()
S
80 1 3
delete_connection_endpoint()
S
77 1 4
deactivate_disconnect()
S
78 1 4
accept_tos_clarification()
S
79 1 3